package com.share.netdisk.userhomefile.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName("user_home_file")
public class UserHomeFile {

	@TableId(value = "home_file_id")
	private Integer homeFileId;

	@TableField("user_id")
	private Integer userId;

	@TableField("home_file_url")
	private String homeFileUrl;

	@TableField("home_file_name")
	private String homeFileName;

	@TableField("reclaim_url")
	private String reclaimUrl;

	@TableField("reclaim_name")
	private String reclaimName;

	@TableField("share_url")
	private String shareUrl;

	@TableField("share_name")
	private String shareName;

	@TableField("home_file_status")
	private Byte homeFileStatus;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@TableField("create_time")
	private Date createTime;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@TableField("update_time")
	private Date updateTime;

}
